import request from '@/utils/request'

/**
 *
 * @param {*} data 登录要请求的boby -mobile password
 * @returns
 */
export function reqLogin(data) {
  return request.post('/sys/login', data)
}

export const reqGetUserInfo = () => {
  return request.post('/sys/profile')
}
export const reqGetUserDetailById = (id) => {
  return request.get(`/sys/user/${id}`)
}
export function getInfo(token) {

}

export function logout() {

}
